package com.fr.report.adhoc;

import com.fr.base.Style;
import com.fr.base.background.ColorBackground;
import java.awt.Color;
import java.util.ArrayList;
import java.util.List;

public class ADHOCReportStyleUtils
{
  private static List simpleStyles = new ArrayList();
  private static List crossedStyles = new ArrayList();

  public static SimpleADHOCStyle getSimpleStyle(int paramInt)
  {
    return ((SimpleADHOCStyle)simpleStyles.get(paramInt));
  }

  public static CrossedADHOCStyle getCrossedStyle(int paramInt)
  {
    return ((CrossedADHOCStyle)crossedStyles.get(paramInt));
  }

  static
  {
    SimpleADHOCStyle localSimpleADHOCStyle1 = new SimpleADHOCStyle();
    simpleStyles.add(localSimpleADHOCStyle1);
    SimpleADHOCStyle localSimpleADHOCStyle2 = new SimpleADHOCStyle();
    localSimpleADHOCStyle2.setReportHeaderStyle(localSimpleADHOCStyle2.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(203, 227, 242))));
    localSimpleADHOCStyle2.setSummaryStyle(localSimpleADHOCStyle2.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(108, 187, 234))));
    simpleStyles.add(localSimpleADHOCStyle2);
    SimpleADHOCStyle localSimpleADHOCStyle3 = new SimpleADHOCStyle();
    localSimpleADHOCStyle3.setReportHeaderStyle(localSimpleADHOCStyle3.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(205, 226, 152))));
    localSimpleADHOCStyle3.setSummaryStyle(localSimpleADHOCStyle3.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(137, 201, 151))));
    simpleStyles.add(localSimpleADHOCStyle3);
    SimpleADHOCStyle localSimpleADHOCStyle4 = new SimpleADHOCStyle();
    localSimpleADHOCStyle4.setReportHeaderStyle(localSimpleADHOCStyle4.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(242, 156, 159))));
    localSimpleADHOCStyle4.setSummaryStyle(localSimpleADHOCStyle4.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(197, 144, 191))));
    simpleStyles.add(localSimpleADHOCStyle4);
    CrossedADHOCStyle localCrossedADHOCStyle1 = new CrossedADHOCStyle();
    crossedStyles.add(localCrossedADHOCStyle1);
    CrossedADHOCStyle localCrossedADHOCStyle2 = new CrossedADHOCStyle();
    localCrossedADHOCStyle2.setReportHeaderStyle(localCrossedADHOCStyle2.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(203, 227, 242))));
    localCrossedADHOCStyle2.setSummaryStyle(localCrossedADHOCStyle2.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(108, 187, 234))));
    crossedStyles.add(localCrossedADHOCStyle2);
    CrossedADHOCStyle localCrossedADHOCStyle3 = new CrossedADHOCStyle();
    localCrossedADHOCStyle3.setReportHeaderStyle(localCrossedADHOCStyle3.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(205, 226, 152))));
    localCrossedADHOCStyle3.setSummaryStyle(localCrossedADHOCStyle3.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(137, 201, 151))));
    crossedStyles.add(localCrossedADHOCStyle3);
    CrossedADHOCStyle localCrossedADHOCStyle4 = new CrossedADHOCStyle();
    localCrossedADHOCStyle4.setReportHeaderStyle(localCrossedADHOCStyle4.getReportHeaderStyle().deriveBackground(ColorBackground.getInstance(new Color(242, 156, 159))));
    localCrossedADHOCStyle4.setSummaryStyle(localCrossedADHOCStyle4.getSummaryStyle().deriveBackground(ColorBackground.getInstance(new Color(197, 144, 191))));
    crossedStyles.add(localCrossedADHOCStyle4);
  }
}